package cfca.payment.socket;

import java.io.StringWriter;

import javax.xml.transform.Transformer;
import javax.xml.transform.TransformerFactory;
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;

import org.w3c.dom.Document;

import payment.tools.security.SignatureFactory;
import payment.tools.security.Signer;
import payment.tools.util.Base64;
import payment.tools.util.StringUtil;
import payment.tools.util.XmlUtil;

public class Test {

	public static void main(String[] args) {
		Tx9999Request request =  new  Tx9999Request();
		try {
			request.process();
			String Message = request.getRequestMessage();
			String Signature = request.getRequestSignature();
			System.out.println(Message);
			System.out.println(Signature);

		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
